package com.lesso.lll.sunflower.infra.assembler;

import com.lesso.lll.sunflower.model.Employee;
import com.lesso.lll.sunflower.pojo.dto.EmployeeDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * EmployeeAssembler
 *
 * @author lll
 * @since 2025-07-02
 */
@Mapper
public interface EmployeeAssembler {
    EmployeeAssembler INSTANCE = Mappers.getMapper(EmployeeAssembler.class);

    Employee dtoToEntity(EmployeeDTO dto);
}
